<div class="thumbbox column3">
	<div class="thumb_func">&nbsp;
		<span class="ui-icon ui-icon-trash right" title="trash" onclick="func_trash($(this));"></span>
		<span class="ui-icon ui-icon-pencil right" title="update" id="<?php echo $this->createUrl('update',array('id'=>$data->pro_id));?>" onclick="func_update($(this));"></span>
		<span class="ui-icon ui-icon-newwin right" title="folder" onclick="func_folder($(this));"></span>
		<span class="ui-icon ui-icon-circle-zoomin left" title="zoom" onclick="func_show($(this));"></span>
	</div>
	<div class="thumbnail">
		<?php
			$img = CHtml::image(File::model()->generateFilePath(File::model()->findByPk($data->pro_pic_id, $params),0),$data->pro_name);
			echo CHtml::link($img, 'javascript:void();', array('title'=>$data->pro_name,'onclick'=>'func_showImg($(this));','name'=>File::model()->generateFilePath($data->pro_pic_id,0,0),'id'=>$data->pro_id,'title'=>$data->pro_describe));	
		?>
	</div>
	<div class="thumbbox_des">
		<?php echo CHtml::link(CHtml::encode($data->pro_name),array('update','id'=>$data->pro_id),array('alt'=>$data->pro_describe,'name'=>$this->createUrl('view',array('id'=>$data->pro_id)),'onclick'=>'func_showInfo($(this));'));?>
	</div>
</div>
<?php/*
<div class="view">

	<b> echo CHtml::encode($data->getAttributeLabel('pro_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->pro_id), array('view', 'id'=>$data->pro_id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_cid')); ?>:</b>
	<?php echo CHtml::encode($data->pro_cid); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_uid')); ?>:</b>
	<?php echo CHtml::encode($data->pro_uid); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_name')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->pro_name),array('update','id'=>$data->pro_id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_pic_id')); ?>:</b>
	<?php echo CHtml::encode($data->pro_pic_id); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_price')); ?>:</b>
	<?php echo CHtml::encode($data->pro_price); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_recommend')); ?>:</b>
	<?php echo CHtml::encode($data->pro_recommend); ?>
	<br />

	<?php 
	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_left')); ?>:</b>
	<?php echo CHtml::encode($data->pro_left); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_sold')); ?>:</b>
	<?php echo CHtml::encode($data->pro_sold); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_discount')); ?>:</b>
	<?php echo CHtml::encode($data->pro_discount); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_created')); ?>:</b>
	<?php echo CHtml::encode($data->pro_created); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_update')); ?>:</b>
	<?php echo CHtml::encode($data->pro_update); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_describe')); ?>:</b>
	<?php echo CHtml::encode($data->pro_describe); ?>
	<br />	

</div>
*/ ?>